package com.epam.newsmanagement.database.dao;

import java.util.List;

import com.epam.newsmanagement.database.dao.exception.DAOException;
import com.epam.newsmanagement.model.News;

public interface INewsDAO {
	void save(News news) throws DAOException;
	List<News> getList() throws DAOException;
	void remove(Integer[] selectedNews) throws DAOException;
	News fetchById(int id) throws DAOException;
}
